<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OSM Euro TripTalk! for Visually Impaired</title>
</head>
<body> 
<br>
<center><h3>OSM Euro TripTalk! for Visually Impaired, <a href="http://webanywhere.cs.washington.edu/wa.php">run on WebAnywhere Screen Reader on GO!</a> <sup> powered by ORS</sup></h3></center>
 <center><p id="status"></p></center>
 <script type="text/javascript" src="gears_init.js"></script>
 <script type="text/javascript" src="sample.js"></script>
<script>

init();

function init() {
  if (!window.google || !google.gears) {
    addStatus('Gears is not installed', 'error');
    return;
  }


  //addStatus('Getting location...');

    function successCallback(p) {
    var address =   p.gearsAddress.street + ', '
	              + p.gearsAddress.city + ', '
                  + p.gearsAddress.region + ', '
                  + p.gearsAddress.country ;

    clearStatus();
	//var latlong = 'p.latitude' + 'p.longitude';
	//gt = "<"; lt = ">";
	//addressu = gt + '\?php ' + ' $address ' + ' = ' + '\"' + address + '\"' + ' ?' + lt;
    addStatus('You are at: ' + address);
	//addStatus(latlong);


    


  }



  function errorCallback(err) {
    var msg = 'Error retrieving your location: ' + err.message;
    setError(msg);
  }

  try {
    var geolocation = google.gears.factory.create('beta.geolocation');
    geolocation.getCurrentPosition(successCallback,
                                   errorCallback,
                                   { enableHighAccuracy: true,
                                     gearsRequestAddress: true });
  } catch (e) {
    setError('Error using Geolocation API: ' + e.message);
    return;
  }

}
</script>
<script>
y=document.getElementById("status");
var t=setTimeout("document.geo.poi_name.value = y.innerHTML",1000);
</script>
<center><small><b>Tip</b> : Go to <a href="http://webanywhere.cs.washington.edu/wa.php">WebAnywhere online Screen Reader</a> page, copy current url, paste in there, and GO! for machine independent access for Visually Impaired.Do read Using WebAnywhere.</small></center>
<br>
<br>
<center>
<h4><a href="indexrouting.php">1. Directions tool with Routing Information for any Source to any Destination in Europe</a></h4>
<h4><a href="indexpoi.php">2. Point of Interests along Route and/or around Source/Destination in Europe</a></h4>
<h4><a href="indexaudi.php">3. Firefox user?, try Talking Map, also browse Point of Interests around any location in Europe</a></h4>
</center>
<br>
<br>
<br>
<br>
<br>
<br>

<center>
<a href="http://openstreetmap.org">OSM</a>
<a href="http://openrouteservice.org/">ORS</a>
<a href="http://webanywhere.cs.washington.edu/">WebAnywhere Project</a>
<a href="http://cs.unc.edu/Research/assist/outfox/xpi/outfox.xpi">Install Outfox</a>
<a href="http://gears.google.com/">Install Google Gears</a>
<a href="mailto:vaish.rajan@gmail.com?subject=Hello%20EuroTripTalk">Contact</a>

</center>
<br><br>

</body>
</html>